<%@ page pageEncoding="UTF-8"%>
<%@ include file="../../resources/commonUI.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>转接键盘</title>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/akt-ui/css/dial.css" />
</head>
<body>
<input type="text" id="callNumber" />
<div class="keyboard">
    <ul>
        <li onclick="number('1')">1</li>
        <li onclick="number('2')">2</li>
        <li onclick="number('3')">3</li>
    </ul>
    <ul>
        <li onclick="number('4')">4</li>
        <li onclick="number('5')">5</li>
        <li onclick="number('6')">6</li>
    </ul>
    <ul>
        <li onclick="number('7')">7</li>
        <li onclick="number('8')">8</li>
        <li onclick="number('9')">9</li>
    </ul>
    <ul>
        <li onclick="number('*')">*</li>
        <li onclick="number('0')">0</li>
        <li onclick="number('#')">#</li>
    </ul>
    <ul>
        <c:if test="${param.type eq 'in'}">
            <li onclick="advice('1')">内线咨询</li>
        </c:if>
        <c:if test="${param.type eq 'out'}">
            <li onclick="advice('3')">外线咨询</li>
        </c:if>
        <li onclick="del()">Del</li>
    </ul>
    <ul>
        <li onclick="transferOk()">确认转接</li>
        <li onclick="transferCancel()">取消</li>
    </ul>
</div>
<script type="text/javascript" src="${ctx}/static/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${ctx}/static/akt/dial.js"></script>
</body>
</html>